package com.javalab.recorder.listener;

import com.javalab.recorder.config.ApplicationContext;
import com.javalab.recorder.event.OptionsDialogOKButtonClickEvent;

public class OptionsDialogOKButtonClickEventListener implements ActionEventListener<OptionsDialogOKButtonClickEvent> {

	@Override
	public void handleActionEvent(OptionsDialogOKButtonClickEvent actionEvent) {
		ApplicationContext.setDefaultCapturingMixerName(actionEvent.getSelectedAudioInputDeviceName());
	}

}
